package net.sf.xmlform.springmvcexample;

import java.util.Locale;

import org.springframework.stereotype.Service;

import net.sf.xmlform.XMLFormPastport;
import net.sf.xmlform.spring.config.PastportCreator;

@Service
public class ExamplePastportCreator implements PastportCreator {

	@Override
	public XMLFormPastport createPastport() {
		return new XMLFormPastport() {
			@Override
			public Locale getLocale() {
				return Locale.CHINESE;
			}
		};
	}

}
